import { ApiVersoin } from '@/common/enums/httpEnum'

const Url = {
  getNearby: `${ApiVersoin.V5}/map-room/nearby`,
  projectDetail: `${ApiVersoin.V8}/project/map-project-detail`,
}

export const getNearby = (params) => uni.$uv.http.get(Url.getNearby, { params, custom: { showLoading: true } })
/*
 *获取地图中项目详情
 */
export const projectDetail = (params) => uni.$uv.http.get(Url.projectDetail, { params, custom: { showLoading: true } })
